package run.halo.app.model.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import run.halo.app.model.dto.base.OutputConverter;
import run.halo.app.model.entity.BasePost;
import run.halo.app.model.entity.Category;
import run.halo.app.model.vo.CategoryVO;
import java.util.List;

@Data
@ToString
@EqualsAndHashCode()
public class CategoriesDTO implements OutputConverter<CategoriesDTO, Category> {

    /**
     * 一级目录
     */
    private CategoryVO category;

    /**
     * 子目录
     */
    private List<CategoryVO> children;
}
